<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="fullscreen">
        <div class="scroll_content">
            <div class="topfixed">
                <div class="t_left"><a href="/index.php?m=koudai_order_fz&order_id={$order.order_id}"><i class="back"></i></a></div>
                <div class="t_main">寝室订单分账管理</div>

            </div>
            <div class="paddingheight"></div>

        </div>
    </div>

    <ul class="global_tabs clearfix">
        <li style="width: 48.5%;" class="first"><a href="/index.php?m=koudai_order_fz&order_id={$order.order_id}">产品列表</a></li>

        <li style="width: 48.5%;" class="last cur"><a href="/index.php?m=koudai_order_fz&a=my&order_id={$order.order_id}">详细账单</a></li>
    </ul>
    {if $fzuser}
    <div class="comblock">
        <div style="color: #888; font-size: 0.9em; text-align: center;">
            已记账{$fzuser.num}件，共{$fzuser.money}元 &nbsp;&nbsp;  
        </div>
    </div>
    {/if}
    <ul class="pocket_order_operate">
    {foreach item=c from=$fzlist}
        <li>
            <div class="block clearfix">
                <p class="fl">{$c.dateline|date:Y-m-d H:i:s}<br>
                    <span class="red">{$c.nickname}</span> 进行了分账操作<br>
                    选择<span class="red">{$c.num}</span>件产品，共：<span class="red">{$c.money}</span>元</p>

                <p class="fr">已记账</p>
            </div>
            <div class="dropinfo_list">

            <ul class="cart_new_list clearfix">
                <li>
					{foreach item=p from=$c.products}
                    <div class="list clearfix">
                        <div class="cart_pic"><img src="{$p.imgurl|images_site}.100x100.jpg" class="img"></div>
                        <div class="cart_content">
                            <div class="tit">{$p.title}</div>
                            <div class="info">
                                <p class="fl"><span class="num">￥{$p.price}&nbsp;&nbsp;&nbsp;&nbsp;{$p.num}件</span></p>

                                <p class="fr"><b class="red">￥{$p.money}</b></p>
                            </div>
                        </div>
                    </div>
                    {/foreach}

                </li>

            </ul>

            </div>
        </li>
        
        {/foreach}
        
    </ul>
    <script>
        $(".pocket_order_operate li .block").click(function (e) {
            if ($(this).hasClass("cur")) {
                $(this).removeClass("cur");
                $(this).next(".dropinfo_list").slideUp("fast");
            } else {
                $(this).addClass("cur");
                $(this).next(".dropinfo_list").slideDown("fast");
            }
        });

    </script>
</body>
</html>
